Skip to content

Refactor: Add type hints to visit_Assign method in CodeParser#341

Open
pyob-bot wants to merge 1 commit into
mainfrom
pyob-evolution-v1-1781235222
Open

Refactor: Add type hints to visit_Assign method in CodeParser#341
pyob-bot wants to merge 1 commit into
mainfrom
pyob-evolution-v1-1781235222

Conversation

@pyob-bot

Copy link
Copy Markdown
Collaborator

Summary of Changes

  • Added explicit type annotations (node: ast.Assign) and return type (-> None) to the visit_Assign method within src/pyob/pyob_code_parser.py.

Technical Impact

  • Improves code readability and maintainability by adhering to modern Python type hinting standards.
  • Enhances static analysis and IDE autocompletion support for the CodeParser class, reducing the likelihood of type-related errors during future development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant